﻿using Microsoft.EntityFrameworkCore;
using System;
using System.CJL.Domain;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace System.CJL.Infrstructre
{
    public class MESDbContext : DbContext
    {
        public MESDbContext(DbContextOptions<MESDbContext> options):base(options)
        {
            
        }

        public DbSet<RawMaterial> RawMaterials { get; set; }
        public DbSet<Process> Processs { get; set; }
        public DbSet<FinishedProduct> FinishedProducts { get; set; }
        public DbSet<Storage> Storages { get; set; }
    }
}
